Actually color replace on the right prefixed text
authorAaron Schulz <aaron@users.mediawiki.org>
Mon, 21 Apr 2008 23:15:17 +0000 (23:15 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Mon, 21 Apr 2008 23:15:17 +0000 (23:15 +0000)
includes/RecentChange.php

index b3fe325..19f39dd 100644 (file)
@@ -596,7 +596,7 @@ class RecentChange
                $user = $this->cleanupForIRC( $rc_user_text );
 
                if ( $rc_type == RC_LOG ) {
-                       $logTargetText = $titleObj->getPrefixedText();
+                       $logTargetText = $this->getTitle()->getPrefixedText();
                        $comment = $this->cleanupForIRC( str_replace($logTargetText,"\00302$logTargetText\00310",$actionComment) );
                        $flag = $rc_log_action;
                } else {